package com.itheima.dao;

import com.itheima.pojo.Personnel;
import org.apache.ibatis.annotations.Insert;

import java.util.List;

public interface PersonnelDetailsDao {
    public List<Personnel> selectByCondition(String queryString);

    @Insert("insert into t_enterprise_personnel values(null,#{companyName},#{sex},#{age},#{idCard},#{origo},#{currentAddr},#{ning},#{contactWh},#{contactWz},#{currentStatus},#{teardownTime},#{phoneNumber},#{responsible},#{name})")
    public void add(Personnel personnel);
}
